/**
 * @file Define the dashboard controller
 * 
 * @author Steve Gao<gaofu@parllay.com>
 */
const {ApplicationEvents}       = require('../constants');
/**
 * Define the base server
 * 
 * @class BaseServer
 */
class BaseServer {

    get Server() {}
    
    get Application() {
        return this._Application;
    }

    constructor(application) {
        this._Application = application;
    }

    reportError(error) {
        throw error;
    }

    stop(){}
    start(){}
}

module.exports = BaseServer;